Skip to content

feat: add agentcore banner to CLI - #2223

Draft
nborges-aws wants to merge 2 commits into
refactorfrom
agentcore-banner
Draft

feat: add agentcore banner to CLI#2223
nborges-aws wants to merge 2 commits into
refactorfrom
agentcore-banner

Conversation

@nborges-aws

@nborges-aws nborges-aws commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Pending final banner design - will flip PR to ready upon alignment

Description

Add banner to start page of agentcore CLI. Also includes version badge. Currently set to "AgentCore CLI" and "v1.0.0"

Changes:

  • adds banner component, rendering banner and badge
  • updates Layout to include banner on home screen
  • badge component for rendering version
  • small GradientText component to handle gradient styling of banner
  • tests exerting banner shows on correct page & gradient behavior

Example

{video incoming}

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Other (please describe):

Testing

How have you tested the change?

  • I ran npm run test:unit and npm run test:integ
  • I ran npm run typecheck
  • I ran npm run lint
  • If I modified src/assets/, I ran npm run test:update-snapshots and committed the updated snapshots

Checklist

  • I have read the CONTRIBUTING document
  • I have added any necessary tests that prove my fix is effective or my feature works
  • I have updated the documentation accordingly
  • I have added an appropriate example to the documentation to outline the feature, or no new docs are needed
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the
terms of your choice.

@github-actions github-actions Bot added the size/m PR size: M label Sep 4, 2026
@agentcore-devx-automation agentcore-devx-automation Bot added agentcore-harness-reviewing AgentCore Harness review in progress claude-security-reviewing Claude Code /security-review in progress labels Sep 4, 2026
@agentcore-devx-automation

Copy link
Copy Markdown
Contributor

Claude Security Review: no high-confidence findings. (run)

@agentcore-devx-automation agentcore-devx-automation Bot removed claude-security-reviewing Claude Code /security-review in progress agentcore-harness-reviewing AgentCore Harness review in progress labels Sep 4, 2026

@agentcore-devx-automation agentcore-devx-automation Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AgentCore Harness Review

Verdict: Looks good

Nice, self-contained addition. I read through BrandBanner, Layout, RouterScreen, Badge, and GradientText and didn't find anything that needs to change before merge.

A few small observations that are not blockers — mentioning only in case they're useful:

  • src/components/ui/badge/Badge.tsx: the borderStyle mixes rounded (, ) with square (, ) corners. If that mismatch is intentional, ignore; if not, you probably want all four corners to be the same style (e.g. all rounded via borderStyles.rounded from _core.ts).
  • src/components/ui/badge/Badge.tsx: label is only .toUpperCase()'d when children is a plain string. <Badge>v{PACKAGE_VERSION}</Badge> passes an array of JSX children and stays lowercase, while <Badge>{v${PACKAGE_VERSION}}</Badge> would get uppercased. The current test happens to exercise the first form, but this is a subtle footgun for future callers.
  • src/components/ui/gradient-text/GradientText.tsx: interpolateGradientColor doesn't clamp position to [0, 1]. Current callers stay in-range (index / max(1, span-1) with index < span), so it's fine today; worth clamping if this becomes a shared utility.
  • No telemetry is added, which seems appropriate here since this is a purely decorative banner with no new user action to instrument.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.05%. Comparing base (92b6a43) to head (f932da9).

Additional details and impacted files
@@            Coverage Diff            @@
##           refactor    #2223   +/-   ##
=========================================
  Coverage     97.05%   97.05%           
=========================================
  Files           555      560    +5     
  Lines         38385    38480   +95     
=========================================
+ Hits          37253    37348   +95     
  Misses         1132     1132           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions github-actions Bot added size/m PR size: M and removed size/m PR size: M labels Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/m PR size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants